﻿<!doctype html>

<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/site/css/layout.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/site/css/reset.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/site/css/style.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/site/css/datepicker.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/site/css/menuStyle.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.6.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/cufon-yui.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/cufon-replace.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Didact_Gothic_400.font.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.nivo.slider.pack.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/atooltip.jquery.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.jqtransform.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/script.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.easing.1.3.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/bootstrap-datepicker.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/validaciones.js")" type="text/javascript"></script>

    <link rel="stylesheet" href="../Content/site/css/buscar.css" />
    <script src="../Scripts/jquery.bgiframe-2.1.2.js"></script>
    <script src="http://code.jquery.com/ui/1.9.0/jquery-ui.js"></script>
    <link rel="stylesheet" href="/resources/demos/style.css" />

</head>

   
<body id="page1">

    <div class="body1">
        <div class="main">
            <header>
							@if (!@ViewBag.logueado)
							  {
								  <h1>

									  <a href="/" id="logo" style="padding-bottom: 7px"></a>
								  </h1>
                
                
                    		
								  <div class="wrapper">
									  <ul id="icons" style="margin-bottom: 11px;">

										  <li>@Html.Partial("_LogOnPartial") </li>
									  </ul>
								  </div>		
							  }
							else
							  {
								  if (@ViewBag.permiso == 0)
								  { 
									<h1>
										<a href="/PerfilSuperAdmin" id="logo" style="padding-bottom: 7px"></a>
									</h1>;
								  }
								  if (@ViewBag.permiso == 1)
								  { 
									<h1>
										<a href="/PerfilPropietario" id="logo" style="padding-bottom: 7px"></a>
									</h1>;
								  }
								  if (@ViewBag.permiso == 2)
								  { 
									<h1>
										<a href="/PerfilAdministrador" id="logo" style="padding-bottom: 7px"></a>
									</h1>;
								  }
								  if (@ViewBag.permiso == 3)
								  { 
									<h1>
										<a href="/PerfilAdministradorGeneral" id="logo" style="padding-bottom: 7px"></a>
									</h1>;
								  }
								  if (@ViewBag.permiso == 4)
								  { 
									<h1>
										<a href="/Ventas" id="logo" style="padding-bottom: 7px"></a>
									</h1>;
								  }
								  if (@ViewBag.permiso == 5)
								  { 
									<h1>
										<a href="/PerfilVendedor" id="logo" style="padding-bottom: 7px"></a>
									</h1>;
								  }
								  
								 	
							  <div class="wrapper" style="height: 36px; width: 250px; padding-left: 749px; padding-bottom: 1px; padding-top: 26px;">
								<p>
								<span>Bienvenido, @ViewBag.nombrePersona</span>
								<br />
								<a href="/Account/LogOff">Cerrar Sesión</a>
								</p>
								</div>
							  }

						

				

				<nav>
					<ul id="menu">
						<li id="menu_active">@Html.ActionLink("Inicio", "Index", "Home")</li>
						<li>@Html.ActionLink("Nosotros", "Us", "Home")</li>
						<li>@Html.ActionLink("Inmuebles", "Inmueble", "Home")</li>
						<li>@Html.ActionLink("Su Inmueble", "Index", "SuInmueble")</li>
						<li>@Html.ActionLink("Contactenos", "Contactenos", "Home")</li>
						

					</ul>
				</nav>

			</header>
		</div>
	</div>

    @RenderBody()

    <div class="body4">
        <div class="main">
            <!-- footer -->
            <footer>
                <span class="call">Llamar a: <span>996-800-567</span></span>
                Usted se encuentra en la web de TumbaloCorp <a href="https://www.facebook.com/TumbaloCorp" target="_blank" rel="nofollow">www.tumbalocorp.com</a>
                TumbaloSoft V1.2.0 
            </footer>
            <!-- / footer -->
        </div>
    </div>
</body>
